import React, { Component } from "react";
import { Button } from "antd-mobile";
import { BrowserRouter as Router, Route, Link } from "react-router-dom";

class CityList extends Component {
    constructor(props) {
        super(props);
    }
    state = {};

    //组件挂载时触发
    componentWillMount() {}

    //组件完成挂载触发
    componentDidMount() {}

    //组件是否要更新数据时触发
    shouldComponentUpdate() {}

    //组件将要更新数据时触发
    componentWillUpdate() {}

    //组件更新数据完成时触发
    componentDidUpdate() {}

    //组件销毁时触发
    componentWillUnmount() {}

    render() {
        return (
            <div>
                <p>城市列表</p>
            </div>
        );
    }
}
export default CityList;
